enum {
kMCSetMovieSelect = 2, /* MCSetMovie */
kMCRemoveMovieSelect = 3, /* MCRemoveMovie */
kMCIsPlayerEventSelect = 7, /* MCIsPlayerEvent */
kMCSetActionFilterSelect = 8, /* MCSetActionFilter */
kMCDoActionSelect = 9, /* MCDoAction */
kMCSetControllerAttachedSelect= 10, /* MCSetControllerAttached */
kMCIsControllerAttachedSelect = 11, /* MCIsControllerAttached */
kMCSetControllerPortSelect = 12, /* MCSetControllerPort */
kMCGetControllerPortSelect = 13, /* MCGetControllerPort */
kMCGetVisibleSelect = 14, /* MCGetVisible */
kMCSetVisibleSelect = 15, /* MCSetVisible */
kMCGetControllerBoundsRectSelect
= 16, /* MCGetControllerBoundsRect */
kMCSetControllerBoundsRectSelect
= 17, /* MCSetControllerBoundsRect */
kMCGetControllerBoundsRgnSelect
= 18, /* MCGetControllerBoundsRgn */
kMCGetWindowRgnSelect = 19, /* MCGetWindowRgn */
kMCMovieChangedSelect = 20, /* MCMovieChanged */
kMCSetDurationSelect = 21, /* MCSetDuration */
kMCGetCurrentTimeSelect = 22, /* MCGetCurrentTime */
kMCNewAttachedControllerSelect= 23, /* MCNewAttachedController */
kMCDrawSelect = 24, /* MCDraw */
kMCActivateSelect = 25, /* MCActivate */
kMCIdleSelect = 26, /* MCIdle */
kMCKeySelect = 27, /* MCKey */
kMCClickSelect = 28, /* MCClick */
kMCEnableEditingSelect = 29, /* MCEnableEditing */
kMCIsEditingEnabledSelect = 30, /* MCIsEditingEnabled*/
kMCCopySelect = 31, /* MCCopy */
kMCCutSelect = 32, /* MCCut */
kMCPasteSelect = 33, /* MCPaste */
kMCClearSelect = 34, /* MCClear */
kMCUndoSelect = 35, /* MCUndo */
kMCPositionControllerSelect = 36, /* MCPositionController */
kMCGetControllerInfoSelect = 37, /* MCGetControllerInfo */
kMCSetClipSelect = 40, /* MCSetClip */
kMCGetClipSelect = 41, /* MCGetClip */
kMCDrawBadgeSelect = 42, /* MCDrawBadge */
kMCSetUpEditMenuSelect = 43, /* MCSetUpEditMenu */
kMCGetMenuStringSelect = 44, /* MCGetMenuString */
kMCSetActionFilterWithRefConSelect
= 45
/* SetActionFilterWithRefConSelect */
};
enum {
mcActionIdle = 1, /* give event-processing time to
movie controller */
mcActionDraw = 2, /* send update event to movie
controller */
mcActionActivate = 3, /* activate movie controller */
mcActionDeactivate = 4, /* deactivate controller */
mcActionMouseDown = 5, /* pass mouse-down event */
mcActionKey = 6, /* pass key-down or auto-key event */
mcActionPlay = 8, /* start playing movie */
mcActionGoToTime = 12, /* move to specific time in a movie */
mcActionSetVolume = 14, /* set a movie's volume */
mcActionGetVolume = 15, /* retrieve a movie's volume */
mcActionStep = 18, /* play a movie a specified number
of frames at a time */
mcActionSetLooping = 21, /* enable or disable looping */
mcActionGetLooping = 22, /* find out if movie is looping */
mcActionSetLoopIsPalindrome = 23, /* enable palindrome looping */
mcActionGetLoopIsPalindrome = 24, /* find out if palindrome looping
is on */
mcActionSetGrowBoxBounds = 25, /* set limits for resizing a movie */
mcActionControllerSizeChanged = 26, /* user has resized movie
controller */
mcActionSetSelectionBegin = 29, /* start time of movie's current
selection */
mcActionSetSelectionDuration = 30, /* set duration of movie's current
selection */
mcActionSetKeysEnabled = 32, /* enable or disable keystrokes for
movie */
mcActionGetKeysEnabled = 33, /* find out if keystrokes are
enabled */
mcActionSetPlaySelection = 34, /* constrain playing to the current
selection */
mcActionGetPlaySelection = 35, /* find out if movie is constrained to
playing within selection */
mcActionSetUseBadge = 36, /* enable or disable movie's
playback badge */
mcActionGetUseBadge = 37, /* find out if movie controller is
using playback badge */
mcActionSetFlags = 38, /* set movie's control flags */
mcActionGetFlags = 39, /* retrieve movie's control flags */
mcActionSetPlayEveryFrame = 40, /* instruct controller to play all
frames in movie */
mcActionGetPlayEveryFrame = 41, /* find out if controller is playing
every frame in movie */
mcActionGetPlayRate = 42, /* determine playback rate */
mcActionShowBalloon = 43, /* find out if controller wants to
display Balloon Help */
mcActionBadgeClick = 44, /* user clicked movie's badge */
mcActionMovieClick = 45, /* user clicked movie */
mcActionSuspend = 46, /* suspend action */
mcActionResume = 47 /* resume action */
};
enum {
mcTopLeftMovie = 1<<0, /* places movie in upper-left corner of
display rectangle */
mcScaleMovieToFit ` = 1<<1, /* resizes movie to fit into display
rectangle */
mcWithBadge = 1<<2, /* controls whether badge is displayed */
mcNotVisible = 1<<3, /* controls whether controller portion
is visible */
mcWithFrame = 1<<4 /* specifies whether component shows
frame around movie */
};
enum {
mcFlagSuppressMovieFrame = 1<<0, /* controls display of frame */
mcFlagSuppressStepButtons = 1<<1, /* controls display of step
buttons */
mcFlagSuppressSpeakerButton = 1<<2, /* controls display of speaker
button */
mcFlagsUseWindowPalette = 1<<3 /* controls display of window
palette */
};
enum {
mcInfoUndoAvailable = 1<<0, /* MCUndo function available */
mcInfoCutAvailable = 1<<1, /* MCCut function available */
mcInfoCopyAvailable = 1<<2, /* MCCopy function available */
mcInfoPasteAvailable = 1<<3, /* MCPaste function available */
mcInfoClearAvailable = 1<<4, /* MCClear function available */
mcInfoHasSound = 1<<5, /* controller can play movie's
sound */
mcInfoIsPlaying = 1<<6, /* movie is playing */
mcInfoIsLooping = 1<<7, /* movie is looping */
mcInfoIsInPalindrome = 1<<8, /* movie is alternating between
forward and backward playback */
mcInfoEditingEnabled = 1<<9 /* MCEnableEditing function
available */
};
enum {
mcMenuUndo = 1, /* Undo command */
mcMenuCut = 3, /* Cut command */
mcMenuCopy = 4, /* Copy command */
mcMenuPaste = 5, /* Paste command */
mcMenuClear = 6 /* Clear command */
};
enum {
mcPositionDontInvalidate = 1<<5 /* do not invalidate areas of window
changed due to repositioning of movie
or controller */
};